//
//  RegistDelegateVC.m
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/6/30.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import "RegistDelegateVC.h"
#import <WebKit/WebKit.h>

@interface RegistDelegateVC ()

@property (nonatomic, strong) WKWebView *webView;

@end

@implementation RegistDelegateVC

-(WKWebView *)webView {
    if (!_webView) {
        _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, ScreenW, ScreenH - NaviHeight)];
    }
    return _webView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"用户注册及服务协议";
    self.view.backgroundColor = HexColor(0xffffff);
    [self.view addSubview:self.webView];
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://img.oceanscm.com/example/serviceprotocal/supplier.pdf"]]];
}

@end
